package com.example.testproj.design.composite;

/**
 * @des:
 * @author: 芮勤
 * @date: 2019/6/17 15:59
 * @see {@link }
 */
public abstract class Component {
    protected static final String TAG = "qin";
    protected String name;

    public Component(String name) {
        this.name = name;
    }

    public abstract void Add(Component c);
    public abstract void Remove(Component c);
    public abstract void Display(int depth);
}
